package com.dora.pattern.singleton;

import lombok.Getter;

/**
 * 饿汉式单例
 *
 * @author hanchen
 * @date 2024/02/20
 */
public class EagerSingleton {

    @Getter
    private static final EagerSingleton INSTANCE = new EagerSingleton();

    private EagerSingleton() {
        // 私有构造方法
    }

}
